﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TH_ChiTietGiaoDich.ascx.cs" Inherits="UserControls_TH_ChiTietGiaoDich" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Label ID="orderIdLabel" runat="server" 
           CssClass="AdminTitle" Text="Order #000" />
<br /><br />
<table class="AdminPageText" style="line-height:18px;">
  <tr>
    <td width="130">Thành tiền:</td>
    <td>
      <asp:Label ID="totalAmountLabel" runat="server" 
CssClass="ProductPrice" />
    </td>
  </tr>
  <tr>
    <td width="130">Ngày đặt hàng:</td>
    <td>
        <asp:Label ID="dateCreatedTextBox" runat="server" />
    </td>
  </tr>
  <tr>
    <td width="130">Ngày giao hàng:</td>
    <td>
      <asp:Label ID="dateShippedTextBox" runat="server" />
    </td>
  </tr>
  <tr>
    <td width="130">Xác nhận:</td>
    <td>
      <asp:CheckBox ID="verifiedCheck" runat="server" Enabled=false/>
    </td>
  </tr>
  <tr>
    <td width="130">Đã giao:</td>
    <td>
      <asp:CheckBox ID="completedCheck" runat="server" Enabled=false />
    </td>
  </tr>
  <tr>
    <td width="130">Hoãn:</td>
    <td>
      <asp:CheckBox ID="canceledCheck" runat="server" Enabled=false />
    </td>
  </tr>
  <tr>
    <td width="130">Ghi chú:</td>
    <td>
      <asp:Label ID="commentsTextBox" runat="server" Width="400px" />
    </td>
  </tr>
  <tr>
    <td width="130">Địa chỉ người nhận:</td>
    <td>
      <asp:Label ID="shippingAddressTextBox" runat="server" Width="400px" />
    </td>
  </tr>
</table>
<br />

<asp:Label ID="Label13" runat="server" CssClass="AdminPageText" 
Text="Đơn đặt hàng bao gồm các sản phẩm sau:" Font-Underline="True" />
<br />
<br />
<asp:GridView ID="grid" runat="server" AutoGenerateColumns="False" 
BackColor="White" Width="100%">
  <Columns>
    <asp:BoundField DataField="TenSanPham" HeaderText="Tên sản phẩm" 
                    ReadOnly="True" SortExpression="TenSanPham" >
      <ControlStyle Height="18px" />
      <ItemStyle Height="18px" />
      </asp:BoundField>
    <asp:BoundField DataField="SoLuong" HeaderText="Số lượng" 
                    ReadOnly="True" SortExpression="SoLuong" >
      <ControlStyle Height="18px" />
      <ItemStyle Height="18px" HorizontalAlign="Center" />
      </asp:BoundField>
    <asp:BoundField DataField="Gia" HeaderText="Giá" DataFormatString="{0:#,##0;Nothing}"
                    ReadOnly="True" SortExpression="Gia" >
      <ControlStyle Height="18px" />
      <ItemStyle Height="18px" HorizontalAlign="Center" />
      </asp:BoundField>
    <asp:BoundField DataField="ThanhTien" HeaderText="Tổng tiền" DataFormatString="{0:#,##0;Nothing}"
                    ReadOnly="True" SortExpression="ThanhTien" >
      <ControlStyle Height="18px" />
      <ItemStyle Height="18px" HorizontalAlign="Center" />
      </asp:BoundField>
  </Columns>
</asp:GridView>
<br />